'''
    拼接字符串
'''

x = 'ADP2_DEMAND_MANAGE_{txdate}'

_BIZDATE = '20201001'

y = '/user/edw/tmp/'

z = '.dat'

split = x.split('{txdate}')

y = y + split[0] + _BIZDATE + z

print(y)

'''
print('**************** shellCmd: %s' % shellCmd)
Common.execShell(shellCode, shellCmd, message)
if _hdfs.exists(_hdfsTmpDir + '/spark.err'):
    if _IFFIXEDLENGTH == '1':
        _hdfs.readFile(_hdfsTmpDir + '/spark.err/part-00000')
    raise Exception('RDD转码错误')
if len(_hdfsDir.strip()) > 0:
    _hdfs.delete(_hdfsDir)
'''

